<!-- <div class="container">
    <div class="cat-fix cat-fix-top" id="catlist">
        <div class="title2"></div>

    </div>
    <input type="hidden" id="record_product_id" value="0" />
    <div class="bottom-fix">
    	<div class="share_jifen"><a class="close" href="javascript:void(0);"></a></div>
    	<div class="share_home"><a class="close" href="javascript:void(0);"></a></div>
        <div class="share" id="rightshare"></div>
        <div class="collect" id="addBookMark"></div>
        <div class="top" id="gotop"></div>
    </div>
</div> -->

<div class="share-box" id="right_fix_share" style="display:none;">
	<div class="share">
		<div style="color:#000;padding:10px 0 10px 16px" class="title pull-left">分享送积分：</div>
            <div id="share" style="padding:6px 0" class=" pull-left" data-tag="share_2" data-text="sh2" id="share_2">
                <a class="share_weixin share_icon" target="_blank" data-cmd="weixin"></a>
				<a class="share_sqq share_icon" target="_blank" data-cmd="sqq"></a>
				<a class="share_tsina share_icon" target="_blank" data-cmd="tsina"></a>
				<a class="share_qzone share_icon" target="_blank" data-cmd="qzone" href="#"></a>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
<script>
var sharebox = $('#right_fix_share');
var page = "";

if(typeof(share_s11) != "undefined")
{
	$('.share_s11').show();
	page = 's11';
}
$('#rightshare').mouseover(function(){
	if(typeof(share_home) != "undefined")
	{
		//$('.share_home').show();
		page = 'home';
	}
	if(typeof(share_jifen) != "undefined")
	{
		//$('.share_jifen').show();
		page = 'jifen';
	}
	if(typeof(share_s11) != "undefined")
	{
		//$('.share_s11').show();
		page = 's11';
	}
});


if(typeof(share_home) == "undefined" && typeof(share_jifen) == "undefined" && typeof(share_s11) == "undefined"){
	$('#rightshare').hide();
}

$('.close').click(function(){
	$(this).parent().hide();
});

$('#rightshare').click(function(){	
    dialog({
		title: '分享送积分',
		id:'dialog_rightshare',
		cancelValue: '取消',
		cancel: true,
		content: sharebox.show()
    }).show();
    var geturl = '/user/public/pageshare.html';
    if(pagetype == "jifen"){
        var pic = '';
		Desc = '【1折网积分商城】每日早上10点1折网积分商品限时免费兑，还有0积分商品噢！';
		Url = 'http://www.1zw.com/jifen.html?client=pc';
		Text = '【1折网积分商城】每日早上10点1折网积分商品限时免费兑，还有0积分商品噢！';
	}else if(pagetype == "home"){
		var pic = '';
		Desc = '';
		Url = 'http://www.1zw.com/?client=pc';
		Text = '';
	}else if(pagetype == "s11"){
		var pic = 'http://www.1zw.com/themes/1zw/assets/images/front/double-11/lottery/share-s11.jpg';
		Desc = '【1折网双11活动】千万红包、iphone6、精美礼品任您抽,保证100%25中奖,不中奖你削我！';
		Url = 'http://www.1zw.com/s11.html?client=pc';
		Text = '【1折网双11活动】千万红包、iphone6、精美礼品任您抽,保证百分百中奖,不中奖你削我！';
		geturl = '/user/public/pageshare11.html';
	}
    $('.share_s11').hide();
	//(id, Pic, Url, Text, Desc, Func)
    share_box('right_fix_share',pic,Url,Text,Desc,function() {
		dialog.get('dialog_rightshare').remove();
        $.get(geturl, {page: page}, function(data) {});
    });
});


</script>